﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="ImporterControl.xaml.cs" >
//   J. Prinz
// </copyright>
// <summary>
//   Interaktionslogik für ClassListControl.xaml
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace AutomationMLMapper.Controls
{
    /// <summary>
    ///   Interaktionslogik für ClassListControl.xaml
    /// </summary>
    public partial class ImporterControl
    {
        #region Constructors and Destructors

        /// <summary>
        /// Initializes a new instance of the <see cref="ImporterControl"/> class. 
        /// </summary>
        public ImporterControl()
        {
            this.InitializeComponent();
        }

        #endregion

        /*
        /// <summary>
        /// TODO The validation_ errors.
        /// </summary>
        /// <param name="sender">
        /// TODO The sender.
        /// </param>
        /// <param name="e">
        /// TODO The e.
        /// </param>
        private void ValidationErrors(object sender, ValidationErrorEventArgs e)
        {
            // if (this.DataContext is SimulatedSystem)
            // if (e.Action == ValidationErrorEventAction.Added)
            // ((SimulatedSystem)this.DataContext).Errors ++;
            // else if ( ((SimulatedSystem)this.DataContext).Errors > 0)
            // ((SimulatedSystem)this.DataContext).Errors--;
        }
*/
    }
}